/*
 * WorstFit.h
 *
 *  Created on: 04.03.2011
 *      Author: marco
 */

#ifndef WORSTFIT_H_
#define WORSTFIT_H_

#include "Allocator.h"
#include "WorstFitArea.h"

class WorstFit: public Allocator {
private:
	WorstFitArea* memory;
public:
	WorstFit() : Allocator("WorstFit"){
		//bbb
	}
	~WorstFit();

	const Area * alloc(int);
	void free(const Area *);
	void setSize(int);

};

#endif /* WORSTFIT_H_ */
